home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM B4 / PD-ROM B4.iso / Utilities / Text and Speech / BBEdit 2.2.2 / ToolServer Support / Copy to MPW folder / BBEditStartup < prev    next >
Text File  |  1992-09-02  |  1KB  |  49 lines

  1. #    BBEditStartup
  2. #    Version 2.2d1
  3. #    March 25, 1992
  4.  
  5. #    This script is invoked by BBEdit when it establishes the ToolServer
  6. #    connection. It should reside in the same folder as ToolServer.
  7.  
  8. #############################################################################
  9.  
  10. #    The commands in this section MUST NOT BE ALTERED, or the link between
  11. #    BBEdit and ToolServer will not function correctly.
  12.  
  13. Export BBEditNBPObj
  14. Export BBEditNBPType
  15. Export BBEditNBPZone
  16. Export BBEditPPCPortName
  17. Export BBEditPPCClientName
  18. Export BBEditIsRemote
  19. Export BBEditExists
  20.  
  21. unalias File
  22.  
  23. if `Exists "{MPW}"Scripts:File` == ""
  24.     echo '### The "File" command may not work properly, because the'
  25.     echo '### "File" script is missing from your Scripts folder.'
  26.     echo
  27.     echo '### Also make sure that you have installed the custom "Line"'
  28.     echo '### script in your Scripts folder.'
  29.     
  30.     alias File Target
  31. end
  32.  
  33. if `Exists "{MPW}"Tools:RBBEdit` == ""
  34.     echo
  35.     echo '### The "RBBEdit" tool is missing from your Tools folder.'
  36.     echo '### Until you install it, the File and Line commands will'
  37.     echo '### not work.'
  38.     echo
  39.     echo '### Also make sure that you install the custom File and Line'
  40.     echo '### scripts in your Scripts folder'
  41. end
  42.  
  43. For __Startup__i in `(Files "{ShellDirectory}"BBEditStartup•≈ || Set Status 0) ≥ dev:null`
  44.     Execute "{__Startup__i}"
  45. End
  46. Unset __Startup__i
  47.  
  48. #############################################################################
  49.